package com.che.software.testato.domain.entity;

import java.io.Serializable;

/**
 * Class representing a transition.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since July, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class Transition implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = -5891623007300113940L;

	/**
	 * Members.
	 */
	private int sourceElementId, targetElementId, testCaseId, transitionId;
	private String label, sourceElementLabel, targetElementLabel;

	/**
	 * Getter for the private field value sourceElementId.
	 * 
	 * @return the sourceElementId field value.
	 */
	public int getSourceElementId() {
		return sourceElementId;
	}

	/**
	 * Setting a value to the sourceElementId field.
	 * 
	 * @param sourceElementId the value to set.
	 */
	public void setSourceElementId(int sourceElementId) {
		this.sourceElementId = sourceElementId;
	}

	/**
	 * Getter for the private field value targetElementId.
	 * 
	 * @return the targetElementId field value.
	 */
	public int getTargetElementId() {
		return targetElementId;
	}

	/**
	 * Setting a value to the targetElementId field.
	 * 
	 * @param targetElementId the value to set.
	 */
	public void setTargetElementId(int targetElementId) {
		this.targetElementId = targetElementId;
	}

	/**
	 * Getter for the private field value label.
	 * 
	 * @return the label field value.
	 */
	public String getLabel() {
		return label;
	}

	/**
	 * Setting a value to the label field.
	 * 
	 * @param label the value to set.
	 */
	public void setLabel(String label) {
		this.label = label;
	}

	/**
	 * Getter for the private field value sourceElementLabel.
	 * 
	 * @return the sourceElementLabel field value.
	 */
	public String getSourceElementLabel() {
		return sourceElementLabel;
	}

	/**
	 * Setting a value to the sourceElementLabel field.
	 * 
	 * @param sourceElementLabel the value to set.
	 */
	public void setSourceElementLabel(String sourceElementLabel) {
		this.sourceElementLabel = sourceElementLabel;
	}

	/**
	 * Getter for the private field value targetElementLabel.
	 * 
	 * @return the targetElementLabel field value.
	 */
	public String getTargetElementLabel() {
		return targetElementLabel;
	}

	/**
	 * Setting a value to the targetElementLabel field.
	 * 
	 * @param targetElementLabel the value to set.
	 */
	public void setTargetElementLabel(String targetElementLabel) {
		this.targetElementLabel = targetElementLabel;
	}

	/**
	 * Getter for the private field value transitionId.
	 * 
	 * @return the transitionId field value.
	 */
	public int getTransitionId() {
		return transitionId;
	}

	/**
	 * Setting a value to the transitionId field.
	 * 
	 * @param transitionId the value to set.
	 */
	public void setTransitionId(int transitionId) {
		this.transitionId = transitionId;
	}

	/**
	 * Getter for the private field value testCaseId.
	 * 
	 * @return the testCaseId field value.
	 */
	public int getTestCaseId() {
		return testCaseId;
	}

	/**
	 * Setting a value to the testCaseId field.
	 * 
	 * @param testCaseId the value to set.
	 */
	public void setTestCaseId(int testCaseId) {
		this.testCaseId = testCaseId;
	}
}